<div id="pics">
	<ul>
		<% @works.each do |work|%>
			<li>
				<%= link_to image_tag(work.pictures.first.data.url(:thumb)), work%>
				<h5>创意名称：<span><%= work.title%></span></h5>
				<h5>
					<%= link_to '查看', work %>
					<%= link_to '编辑', edit_work_path(work) %>
					<%= link_to '删除', work, :confirm => 'Are you sure?', :method => :delete %>
				</h5>
			</li>
		<% end %>				
	</ul>
</div>	
<br>
<div class="uploadNew">
	<%= link_to '上传新作品', new_work_path %>
</div>
